﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;
using MyApp.Data.Resources;
using System.Data.Objects.DataClasses;
using System.ServiceModel.DomainServices.Server;

namespace MyApp.Data.Model
{
#pragma warning disable 649
    [MetadataType(typeof(ProductCategory.ProductCategoryMetadata))]
    public partial class ProductCategory
    {
        internal class ProductCategoryMetadata
        {
            [Display(ResourceType = typeof(Metadata), Name = "CommonProperties_Name")]
            public string Name;

            [Include]
            public EntityCollection<Product> Products;
        }
    }
#pragma warning restore 649
}
